<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="renderer" content="webkit">
    <title>用户管理</title>
    <link href="/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="/css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
    <link href="/css/animate.css" rel="stylesheet">
    <link href="/css/style.css?v=4.1.0" rel="stylesheet">

</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeIn">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>所有用户</h5>
                </div>
                <div class="ibox-content">
                    <div class="btn-group hidden-xs" id="exampleToolbar" role="group">
                        <a class="btn btn-outline btn-default">
                            <i class="glyphicon glyphicon-plus" aria-hidden="true"></i>
                        </a>
                        <a class="btn btn-outline btn-default">
                            <i class="glyphicon glyphicon-heart" aria-hidden="true"></i>
                        </a>
                        <a class="btn btn-outline btn-default">
                            <i class="glyphicon glyphicon-trash" aria-hidden="true"></i>
                        </a>
                    </div>
                    <table data-toggle="table" data-url="/tyUserController/findAll" data-pagination="true" data-side-pagination="service">
                        <thead>
                        <tr>
                            <th data-field="tbId">UID</th>
                            <th data-field="tbUsername">用户名</th>
                            <th data-field="tbName">显示名</th>
                            <th data-field="tbPassword">密码</th>
                            <th data-field="tbGroupName">用户组</th>
                            <th data-field="tbId" data-formatter="fff">操作</th>
                        </tr>
                        </thead>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="/js/jquery.min.js?v=2.1.4"></script>
<script src="/js/bootstrap.min.js?v=3.3.6"></script>

<script src="/js/content.js?v=1.0.0"></script>
<script src="/js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.js"></script>

<script>
    function fff(v,r,i) {
        var str = "";
        str += '<div onclick="update(' + v + ')" class="btn btn-info"><i class="fa fa-wrench"></i></div> ';
        str += '<div class="btn btn-info"><i class="glyphicon glyphicon-trash"></i></div> ';
        return str;
    }

    function update(uid) {
        top.parent.layer.alert('内容');
    }
</script>
</body>
</html>